package com.itheima.advantagesup.service;

import com.itheima.advantagesup.common.PageBean;
import com.itheima.advantagesup.common.PaginationVO;
import com.itheima.advantagesup.entity.SysRole;
import com.itheima.advantagesup.entity.addRole;
import com.itheima.advantagesup.vo.RoleVO;

import javax.management.relation.Role;
import java.util.List;

public interface SysRoleService {
    PaginationVO<RoleVO> page(String page, String limit, String name);

    List<SysRole> allData();

    void delRoleById(String id);

    RoleVO rowInfoRoleById(String id);

    void addRole(addRole role);

    void updateRole(addRole role);
}
